package my.mall.front.api.pojo.order

import jakarta.validation.constraints.Min
import jakarta.validation.constraints.NotNull
import kotlin.properties.Delegates

class OrderGoodsParam {
    var goodsId: @NotNull @Min(1) Long by Delegates.notNull()
    var skuId: @NotNull @Min(1) Long by Delegates.notNull()
    var num: @Min(1) Int = 0
}
